﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using DiamondDesktop.Presenters;

namespace DiamondDesktop.Views
{
    /// <summary>
    /// Interaction logic for SetReminderView.xaml
    /// </summary>
    public partial class SetReminderView : UserControl
    {
        public SetReminderView(SetReminderPresenter presenter)
        {
            InitializeComponent();
            DataContext = presenter;
        }

        private void mus1_click(object sender, RoutedEventArgs e)
        {
            Microsoft.Win32.OpenFileDialog ofd = new Microsoft.Win32.OpenFileDialog();

            ofd.Filter = "WAV Files (*.WAV)|*.wav";
            ofd.ShowDialog();
            TB_mus1.Text = ofd.FileName;
        }

        private void mus2_click(object sender, RoutedEventArgs e)
        {
            Microsoft.Win32.OpenFileDialog ofd = new Microsoft.Win32.OpenFileDialog();

            ofd.Filter = "WAV Files (*.WAV)|*.wav";
            ofd.ShowDialog();
            TB_mus2.Text = ofd.FileName;
        }

        private void mus3_click(object sender, RoutedEventArgs e)
        {
            Microsoft.Win32.OpenFileDialog ofd = new Microsoft.Win32.OpenFileDialog();

            ofd.Filter = "WAV Files (*.WAV)|*.wav";
            ofd.ShowDialog();
            TB_mus3.Text = ofd.FileName;
        }

        private void mus4_click(object sender, RoutedEventArgs e)
        {
            Microsoft.Win32.OpenFileDialog ofd = new Microsoft.Win32.OpenFileDialog();

            ofd.Filter = "WAV Files (*.WAV)|*.wav";
            ofd.ShowDialog();
            TB_mus4.Text = ofd.FileName;
        }

        private void mus5_click(object sender, RoutedEventArgs e)
        {
            Microsoft.Win32.OpenFileDialog ofd = new Microsoft.Win32.OpenFileDialog();

            ofd.Filter = "WAV Files (*.WAV)|*.wav";
            ofd.ShowDialog();
            TB_mus5.Text = ofd.FileName;
        }
    }
}
